<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
	<h1>欢迎${user.username}<h1>
	<form action="${pageContext.request.contextPath}/user/update/${userId}" method="post" >
		  <!-- 接受user的id值 -->
		<%-- <input type="hidden" name="userId" value="${userId}"/>  --%>
		<!-- <input type="hidden" name="_method" value="put" /> -->
		修改用户名：<input type="text" name="updatename"/>
		<input type="submit"/>
	</form>
</body>
</html>